//
//  XCViewController.m
//  XCLog
//
//  Created by guoshuai.cheng@holla.world on 11/21/2022.
//  Copyright (c) 2022 guoshuai.cheng@holla.world. All rights reserved.
//

#import "XCViewController.h"
#import <XCLog/XCLogManager.h>
#import <XCLog/XCLogListViewController.h>

@interface XCViewController ()

@end

@implementation XCViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    XCLog(@"A---%@",@"B");
    XCLog(@"viewDidLoad--> %@", @"来了");
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (IBAction)add:(id)sender {
    XCLog(@"add--> %@", @"来了");
}


- (IBAction)logs:(id)sender {
    XCLogListViewController *VC = [[XCLogListViewController alloc] init];
    UINavigationController *NA = [[UINavigationController alloc] initWithRootViewController:VC];
    NA.modalPresentationStyle = 0;
    [self presentViewController:NA animated:NO completion:nil];
}

@end
